package org.little.context.support;

import org.little.beans.factory.support.DefaultBeanFactory;
import org.little.core.io.FileSystemResource;
import org.little.core.io.Resource;

/**
 * @author Tinyspot
 * @date 2022-05-20 21:15
 */
public class FileSystemXmlApplicationContext extends AbstractApplicationContext {

    private DefaultBeanFactory factory = null;

    public FileSystemXmlApplicationContext(String path) {
        super(path);
    }

    @Override
    protected Resource getResourceByPath(String path) {
        return new FileSystemResource(path);
    }
}
